package droid.mapViewer.primitives;

import java.util.Iterator;
import java.util.List;

import droid.mapViewer.graphDrawers.Brush;
import droid.mapViewer.graphDrawers.Pen;
import droid.mapViewer.utils.Point;

public class SimpleRegion {
	private List<Point> points;
	private Pen pen;
	private Brush brush;
	private Point center;
	
	public SimpleRegion(List<Point> points, Pen pen, Brush brush, Point center) {
		this.points = points;
		this.pen = pen;
		this.brush = brush;
		this.center = center;
	}
	
	public SimpleRegion(List<Point> points) {
		this.points=points;
		this.pen=null;
		this.brush=null;
		this.center = null;
	}

	public Pen getPen() {
		return pen;
	}
	
	public Brush getBrush() {
		return brush;
	}
	
	public Point getCenter() {
		return center;
	}
	
	public List<Point> getPoints() {
		return points;
	}
	
	public int size() {
		return points.size();
	}
}
